<%@ page language="java" pageEncoding="UTF-8" %>
<%@ include file="/globe.inc" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>首页</title>

    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <style type="text/css" >
        .typeBtn{width:150px;height:70px;}
    </style>
</head>

<body>
<div id="wrappage">
<div id="package">
<div id="link">
    <table width="100%" cellpadding="0">
        <tbody>
        <tr>
            <td class="tl">
                <img src="image/m1.png"/>
            </td>
            <td class="tc">
                <img src="image/m4.png"/>
                您当前的位置:大商电器服务代理平台::首页
            </td>
            <td class="tr">
                <img src="image/m2.png"/>
            </td>
        </tr>
        <tr>
            <td class="cl" colspan="3">
                <table cellpadding="0" class="tt" width="100%">
                    <tbody>
                    <tr>
                        <td class="ec" style="text-align: left">
                            <div>
														<span style="color: green; margin-left: 5px;"><c:if
                                                                test="${user.type == 1}">
                                                            <c:out value="个人用户"/>
                                                        </c:if> <c:if test="${user.type == 2}">
                                                            <c:out value="物业代表"/>
                                                        </c:if> <c:if test="${user.type == 3}">
                                                            <c:out value="厂商代表"/>
                                                        </c:if> </span> 您可以进行以下操作:
                            </div>
                            <form action="" method="post">
                                <div id="operation">
                                    <logic:notEqual name="user" property="type" value="3">
                                        <div>
                                            <input type="button" class="typeBtn"
                                                   value="&nbsp;&nbsp;&nbsp;邮件管理&nbsp;&nbsp;&nbsp;"/>
                                        </div>
                                        <div>
                                            <input type="button" class="typeBtn"
                                                   value="&nbsp;&nbsp;&nbsp;订单管理&nbsp;&nbsp;&nbsp;"/>
                                        </div>
                                    </logic:notEqual>
                                    <logic:notEqual name="user" property="type" value="1">
                                        <div>
                                            <input type="button" class="typeBtn"
                                                   value="&nbsp;&nbsp;&nbsp;任务管理&nbsp;&nbsp;&nbsp;"/>
                                        </div>
                                    </logic:notEqual>
                                    <logic:equal name="user" property="type" value="3">
                                        <div>
                                            <input type="button" class="typeBtn" value="厂商和商品管理"/>
                                        </div>
                                    </logic:equal>
                                    <div>
                                        <input type="button"  class="typeBtn"
                                               value="&nbsp;&nbsp;&nbsp;用户管理&nbsp;&nbsp;&nbsp;"/>
                                    </div>
                                </div>
                            </form>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 9px;">
                <img src="image/m5.png"/>
            </td>
            <td class="bc">
                &nbsp;

            </td>
            <td>
                <img src="image/m6.png"/>
            </td>
        </tr>
        </tbody>
    </table>
</div>

<div id="content">
    <table width="100%" cellpadding="0">
        <tbody>
        <tr>
            <td class="tl">
                <img src="image/m1.png"/>
            </td>
            <td class="tc">
                &nbsp;

            </td>
            <td class="tr">
                <img src="image/m2.png"/>
            </td>
        </tr>
        <tr>
            <td class="cl" colspan="3">

                <table cellpadding="0" class="tt" width="100%">
                    <tbody>
                    <tr>
                        <td class="ec">
                            <fieldset>
                                <legend>
                                    新邮件
                                </legend>
                                <table border="0" class="ltab" cellpadding="0"
                                       align="center" width="100%">
                                    <tbody>
                                    <tr class="lt">
                                        <td class="rbd">
                                            <input type="checkbox"/>
                                        </td>
                                        <td class="rbd">
                                            序号
                                        </td>
                                        <td class="rbd">
                                            邮件主题
                                        </td>
                                        <td class="rbd">
                                            发送人
                                        </td>
                                        <td class="rbd">
                                            附件
                                        </td>
                                        <td class="rbd">
                                            接收日期
                                        </td>
                                        <td class="lbd">
                                            基本操作
                                        </td>
                                    </tr>
                                    <tr class="etd">
                                        <td class="rbd">
                                            <input name="checkbox" type="checkbox"/>
                                        </td>
                                        <td class="rbd">
                                            1
                                        </td>
                                        <td class="rbd">
                                            <a href="#">欢迎试用</a>
                                        </td>
                                        <td class="rbd">
                                            admin
                                        </td>
                                        <td class="rbd">
                                            否
                                        </td>
                                        <td class="rbd">
                                            20010-1-7
                                        </td>
                                        <td class="lbd">
                                            <a href="#"><img src="image/deleteemail.png"/>删除</a>&nbsp;&nbsp;
                                            <a href="#"><img src="image/openemail.png"/>打开</a>
                                        </td>
                                    </tr>
                                    <tr class="etd">
                                        <td class="rbd">
                                            <input name="checkbox" type="checkbox"/>
                                        </td>
                                        <td class="rbd">
                                            2
                                        </td>
                                        <td class="rbd">
                                            <a href="#">邮件设置</a>
                                        </td>
                                        <td class="rbd">
                                            admin
                                        </td>
                                        <td class="rbd">
                                            否
                                        </td>
                                        <td class="rbd">
                                            20010-1-7
                                        </td>
                                        <td class="lbd">
                                            <a href="#"><img src="image/deleteemail.png"
                                                             style="border: none"/>删除</a>&nbsp;&nbsp;
                                            <a href="#"><img src="image/openemail.png"
                                                             style="border: none"/>打开</a>
                                        </td>
                                    </tr>
                                    <tr class="etd">
                                        <td class="rbd">
                                            <input name="checkbox" type="checkbox"/>
                                        </td>
                                        <td class="rbd">
                                            3
                                        </td>
                                        <td class="rbd">
                                            <a href="#">平台帮助</a>
                                        </td>
                                        <td class="rbd">
                                            admin
                                        </td>
                                        <td class="rbd">
                                            否
                                        </td>
                                        <td class="rbd">
                                            20010-1-7
                                        </td>
                                        <td class="lbd">
                                            <a href="#"><img src="image/deleteemail.png"
                                                             style="border: none"/>删除</a>&nbsp;&nbsp;
                                            <a href="#"><img src="image/openemail.png"
                                                             style="border: none"/>打开</a>
                                        </td>
                                    </tr>
                                    </tbody>
                                </table>
                            </fieldset>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
        </tr>
        <tr>
            <td style="width: 9px;">
                <img src="image/m5.png"/>
            </td>
            <td class="bc">
                <table cellpadding="0" width="100%" style="margin: 0px 7px;"
                       border="0">
                    <tbody>
                    <tr>
                        <td>
                            共有3封新邮件,当前第1/1页
                        </td>
                        <td>
                            &nbsp;

                        </td>
                        <td style="text-align: right">
                            首页&nbsp;&nbsp;上一页&nbsp;&nbsp;下一页
                        </td>
                        <td style="text-align: center">
                            转到第
                            <input name="text" type="text"
                                   style="height: 12px; width: 15px" value="1" size="3"
                                   maxlength="3"/>
                            页 Go
                        </td>
                    </tr>
                    </tbody>
                </table>
            </td>
            <td>
                <img src="image/m6.png"/>
            </td>
        </tr>
        </tbody>
    </table>
</div>
</div>

</div>
</body>
</html>
